/*
 * Copyright (c) 2017. 深圳掌控网络有限公司. All rights reserved.
 */

package com.yiqi.lottery.feature.lottery.dependencies.home;


import com.yiqi.lottery.feature.lottery.contract.HomeContract;
import com.yiqi.lottery.feature.lottery.contract.LottoContract;
import com.yiqi.lottery.feature.lottery.presenter.HomePresenter;
import com.yiqi.lottery.feature.lottery.presenter.LottoPresenter;
import dagger.Module;
import dagger.Provides;

@Module
public class HomePresenterModule {
    private final HomeContract.View mView;

    public HomePresenterModule(HomeContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public HomeContract.Presenter provideHomePresenter(){
        return  new HomePresenter(mView);
    }

}
